package cms.hibernate.po;



/**
 * Category entity. @author MyEclipse Persistence Tools
 */

public class Category  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String categoryName;
     private Integer parentId;


    // Constructors

    /** default constructor */    
    /*
    public Category() {
    	id=null;
        this.categoryName = "";
        this.parentId = -1;
    }
    public Category(String categoryName) {
    	id=null;
        this.categoryName = categoryName;
        this.parentId = -1;
    }
    */
    /** full constructor */
     /*
    public Category(String categoryName, Integer parentId) {
    	id=null;
        this.categoryName = categoryName;
        this.parentId = parentId;
    }
    */
   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getCategoryName() {
        return this.categoryName;
    }
    
    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Integer getParentId() {
        return this.parentId;
    }
    
    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }
   








}